package com.gxa.ehome.mapper;

import com.gxa.ehome.pojo.SysUser;




import java.io.Serializable;
import java.util.List;
import java.util.Map;

/*@Mapper*/
public interface SysUserMapper {
   /* @Select(value= "select * from sysUser where id=#{id}")
*/
    SysUser findById(Serializable id);
    void saveByParam(String jobNumber,String password);
    void save(SysUser sysUser);
    void deleteById(Serializable id);
    void update(SysUser sysUser);


    List<SysUser> findAll();
    void saveByParamaterMap(SysUser sysUser);
    void teat(Map<String ,String> Map);

    List<SysUser> findAllByPage(int page,int limit);

    List<SysUser>  finAllByLike(String patten);

    SysUser regiester(String  jobNumber,String password);


    boolean findByJobNumBer(String jobNumber);


}
